package com.haodf.skeleton

/**
 * @author xiaxiao
 * @date 2023/10/17.
 * 列表item的灰条组配置参数
 */
class ItemParams(var params: List<LineSegmentGroup>) {
    var columnNum = 20
    var rowNum = 10


    class LineSegmentGroup(
        var line: Int,
        var graySegments: List<GraySegment>
    )

    class GraySegment(
        var segment: Pair<Int, Int>,
        var mergeGap: Boolean = false,
        var horizontalOffset: Int = 0,//横向偏移量，左小于0， 右大于0
        var verticalOffset: Int = 0 //竖向偏移量，上小于0，下大于0.
    )
}